<?php
class CLoginFilter extends CFilter
{
    protected function preFilter ($filterChain)
    {
        // logic being applied before the action is executed		
        //echo "-->MyFilter-->pre";
        return true; // false if the action should not be executed
    }
    protected function postFilter ($filterChain)
    {
        //echo "-->MyFilter-->post";
    }
}